/*
 * Disposable.java  0.4.0 / Oct 23, 2010
 *
 * Copyright (c) 2010 - 2011, cute4j.com and contributors.
 *
 * This software is licensed under the LGPL version 2.1 license.
 * A copy of this license is included in the file LICENSE-LGPL.txt.
 */
package com.cute4j.core;

/**
 * Disposable interface.
 *
 * @author Slobodan Vrkacevic
 * @version 0.4.0
 */
public interface Disposable {

  /**
   * Returns <tt>true</tt> if the object is disposed.
   *
   * @return <tt>true</tt> if the object is disposed
   */
  public boolean isDisposed();

  /**
   * Disposes the object.
   */
  public void dispose();

}
